﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="QuizSelect.aspx.vb" Inherits="QuizSelect" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Select A Quiz</title>
    <style type="text/css">
        .auto-style1 {
            width: 2px;
        }
        .auto-style2 {
            width: 525px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <br />
        <br />
        <br />
        <br />
        <br />
&nbsp;&nbsp;
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <table style="width: 100%; height: 252px;">
            <tr>
                <td class="auto-style1">
                    <asp:ImageButton ID="ImageButton1" runat="server" Height="155px" ImageUrl="~/pics/quizzard.png" Width="189px" PostBackUrl="~/UserPage.aspx" />
                </td>
                <td class="auto-style2" rowspan="3" style="text-align: center">
                    <asp:Label ID="greetingLabel" runat="server" Text="Hello "></asp:Label>
                    <asp:Label ID="namelabel" runat="server"></asp:Label>
                    <asp:Image ID="Image1" runat="server" Height="20px" ImageUrl="~/wizardhat.jpg" Width="20px" />
                    <asp:Label ID="Label2" runat="server" Text=", please select a quz to take."></asp:Label>
                    <br />
                    <asp:ListBox ID="quizListBox" runat="server" AutoPostBack="True" Height="199px" Width="219px"></asp:ListBox>
                    <br />
                    <br />
                    <asp:Label ID="Label1" runat="server" Text="Quiz Creator: "></asp:Label>
&nbsp;
                    <asp:Label ID="creatorLabel" runat="server"></asp:Label>
                    <br />
                    <br />
                    <asp:Button ID="takeQuizButton" runat="server" PostBackUrl="~/Default2.aspx" Text="Take Selected Quiz" />
                    <br />
                    <br />
                    <asp:Label ID="errorLabel" runat="server"></asp:Label>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>
        <br />
        <br />
        <br />
        <asp:HiddenField ID="quizIDHiddenField" runat="server" />
        <asp:HiddenField ID="titleHiddenField" runat="server" />
        <asp:HiddenField ID="userNameHiddenField" runat="server" />
        <asp:HiddenField ID="ownerIDHiddenField" runat="server" />
        <asp:HiddenField ID="ownerNameHiddenField" runat="server" />
    </form>
</body>
</html>
